package cn.iocoder.yudao.module.system.controller.admin.book.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 绘本上传 Request VO")
@Data
public class BookUploadReqVO {

    @Schema(description = "会话UUID", requiredMode = Schema.RequiredMode.REQUIRED, example = "a1b2c3d4-e5f6-7890-abcd-ef1234567890")
    @NotBlank(message = "会话UUID不能为空")
    private String sessionUuid;

    @Schema(description = "文件", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "文件不能为空")
    private MultipartFile file;
} 